FROM openjdk:11.0-jre-buster
LABEL maintainer="VPI_DENTTAO"
ENV JAVA_OPTS=""
# 设定时区
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

WORKDIR /app
ADD VPI_DT-1.0-JiamingZhao.jar /app/VPI_DT-1.0-JiamingZhao.jar

ENTRYPOINT ["sh","-c","java  -jar $JAVA_OPTS /app/VPI_DT-1.0-JiamingZhao.jar"]